﻿CREATE TABLE [dbo].[ManagedGeography] (
    [Id]          VARCHAR (50)  NOT NULL,
    [Level]       SMALLINT      NOT NULL,
    [Description] VARCHAR (150) NULL,
    [ParentId]    VARCHAR (50)  NULL,
    PRIMARY KEY CLUSTERED ([Id] ASC) WITH (ALLOW_PAGE_LOCKS = ON, ALLOW_ROW_LOCKS = ON, PAD_INDEX = OFF, IGNORE_DUP_KEY = OFF, STATISTICS_NORECOMPUTE = OFF),
    FOREIGN KEY ([ParentId]) REFERENCES [dbo].[ManagedGeography] ([Id]) ON DELETE NO ACTION ON UPDATE NO ACTION
);







